package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.DimissionDao;
import com.prs.crm.domain.person.Dimission;

public class DimissionDaoImpl extends BaseDaoImpl<Dimission> implements DimissionDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<Dimission> getAllDimission() {
		Criteria criteria=this.getSession().createCriteria(Dimission.class);
		return criteria.list();
	}

}
